'''视频翻转'''

from moviepy.editor import *

aviFileName = r'/home/xys/CppProjects/darknet/xinding/xin_shu.mp4'
resultName = r'/home/xys/CppProjects/darknet/xinding/xin_heng.mp4'
video = VideoFileClip(aviFileName)
video = video.rotate(270)
video.write_videofile(resultName)